package org.wsocket.connector;

import java.nio.channels.SocketChannel;

public class Connector {
	
	private SocketChannel theSocketChannel = null;
	private String key = null;
	private String authKey = null;
	
	
	public Connector(SocketChannel socketChannel,String setKey){
		this.key = setKey + "_" + System.currentTimeMillis();
		this.theSocketChannel = socketChannel;
	}
	
	public SocketChannel getSocketChannel(){
		return theSocketChannel;
	}
	
	public String getKey(){
		return key;
	}

	public String getAuthKey() {
		return authKey;
	}

	public void setAuthKey(String authKey) {
		this.authKey = authKey;
	}

	
}
